//
//  LMEmployModel.h
//  WelfareManager
//
//  Created by longmin on 17/1/5.
//  Copyright © 2017年 timtian. All rights reserved.
//

#import <Realm/Realm.h>

typedef enum {
    LMTeamAdminTypeManager = 1,    //管理员
    LMTeamAdminTypeNormal     //普通员工
}LMTeamAdminType;

typedef enum {
    LMEmployStateNormal = 1,    //正常
    LMEmployStateStop     //禁用
}LMEmployState;

@interface LMEmployModel : RLMObject

@property NSString *team_user_id;   //团队成员id
@property NSString *user_id;    //用户id
@property NSString *icon;   //后台没有这个字段
@property NSString *team_nickname;
@property NSString *mobile;
@property LMTeamAdminType team_admin;
/** 是否禁用状态 */
@property LMEmployState state;

@property NSString *team_id;    //所属企业的team_id

@end
